package model.objects;

import java.awt.*;
import java.util.*;

/**
 * acts as a repository for all entries in an image config file
 * @author Zach Michaelov
 */
public class ImageMap {

    Map<String, GameImage> imageMap;

    public ImageMap() {
        imageMap = new HashMap<String, GameImage>();
    }

    public void insertImageByTag(String tag, GameImage image) {
        imageMap.put(tag, image);
    }

    public GameImage getGameImageByTag(String tag) {
        return imageMap.get(tag);
    }


}
